package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_study", desc = "珍兽研习", autoSave = true, uploadCk = true)
public class LogVehicleStudy extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "珍兽唯一id")
    private String vehicleUid;
    @FieldTypeAnnotation(desc = "珍兽配置id")
    private int templateId;
    @FieldTypeAnnotation(desc = "类型")
    private int type;
    @FieldTypeAnnotation(desc = "旧等级")
    private int oldLv;
    @FieldTypeAnnotation(desc = "学习等级")
    private int studyLv;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;

    public LogVehicleStudy(long userId, String vehicleUid, int templateId, int type, int oldLv, int studyLv, String consume) {
        this.userId = userId;
        this.vehicleUid = vehicleUid;
        this.templateId = templateId;
        this.type = type;
        this.oldLv = oldLv;
        this.studyLv = studyLv;
        this.consume = consume;
    }

    public long getUserId() {
        return userId;
    }

}
